package com.tuling.code.algorithm.loadbalance.simple;

import java.util.HashMap;

/**
 * 服务器地址池
 * 
 * @author javaw
 */
public class IpMap {
	// 待路由的Ip列表，Key代表Ip，Value代表该Ip的权重
	public static HashMap<String, Integer> serverWeightMap = new HashMap<String, Integer>();
	static {
		serverWeightMap.put("192.168.1.101", 1);

		serverWeightMap.put("192.168.1.102", 2);

		serverWeightMap.put("192.168.1.103", 3);

		serverWeightMap.put("192.168.1.104", 4);
	}
}
